<!--认证资料(科研用户)-->
@if($rs['order_detail']->property == 'poison')
<div class="detail-item-left">
	<ul class="breadcrumb">
  		<li><a href="javascript:;">认证资料(科研用户)</a></li>
	</ul>
	<div class="detal-form form-horizontal">
		<!--start-->
		<div class="row-fluid clearfix">
			<div class="span4">
				<div class="control-group">
					<label class="detal-label tanwid">事业单位法人证书：</label>
					<div class="controls othermlft">
						<div class="meanspic">
							<img src="{{resizeImage('material/'.$rs['cust_material']->bussines_legal_card,'100','100')}}" org_pic="{{resizeImage('material/'.$rs['cust_material']->bussines_legal_card,'640','640')}}" class="upedimg">
							<span>
								@if($rs['cust_material']->bussines_legal_card_status == 1)
									<img src="{{URL::asset('static/images/tguo_ok.png')}}" class="tgicon">
								@endif
								@if($rs['cust_material']->bussines_legal_card_status == 2)
									<img src="{{URL::asset('static/images/tguo_not.png')}}" class="tgicon">
								@endif
							</span>
						</div>
					</div>
				</div>
			</div>
			<div class="span4">
				<div class="control-group">
					<label class="detal-label tanwid">法人身份证：</label>
					<div class="controls othermlft">
						<div class="meanspic">
							<img src="{{resizeImage('material/'.$rs['cust_material']->legal_card,'100','100')}}" org_pic="{{resizeImage('material/'.$rs['cust_material']->legal_card,'640','640')}}" class="upedimg">
							<span>
								@if($rs['cust_material']->legal_card_status == 1)
									<img src="{{URL::asset('static/images/tguo_ok.png')}}" class="tgicon">
								@endif
								@if($rs['cust_material']->legal_card_status == 2)
									<img src="{{URL::asset('static/images/tguo_not.png')}}" class="tgicon">
								@endif
							</span>
						</div>
					</div>
				</div>
			</div>
			<div class="span4">
				<div class="control-group">
					<label class="detal-label tanwid">购买证明：</label>
					<div class="controls othermlft">
						<div class="meanspic">
							<img src="{{resizeImage('material/'.$rs['shop_card']->pic,'100','100')}}" org_pic="{{resizeImage('material/'.$rs['shop_card']->pic,'640','640')}}" class="upedimg">
							<span>
								@if($rs['order_detail']->shop_card_status == 1)
									<img src="{{URL::asset('static/images/tguo_ok.png')}}" class="tgicon">
								@endif
								@if($rs['order_detail']->shop_card_status == 2)
									<img src="{{URL::asset('static/images/tguo_not.png')}}" class="tgicon">
								@endif
							</span>
						</div>
					</div>
				</div>
			</div>
			<div class="span4">
				<div class="control-group">
					<label class="detal-label tanwid">有效合同：</label>
					<div class="controls othermlft">
						<div class="meanspic">
							<img src="{{resizeImage('contract/'.$rs['order_material']->contract,'100','100')}}" org_pic="{{resizeImage('contract/'.$rs['order_material']->contract,'640','640')}}" class="upedimg">
							<span></span>
						</div>
					</div>
				</div>
			</div>
			<div class="span4">
				<div class="control-group">
					<label class="detal-label tanwid">委托书：</label>
					<div class="controls othermlft">
						<div class="meanspic">
							<img src="{{resizeImage('material/'.$rs['order_material']->transport_proxy,'100','100')}}" org_pic="{{resizeImage('material/'.$rs['order_material']->transport_proxy,'640','640')}}" class="upedimg">
							<span>
								@if($rs['order_detail']->transport_proxy_status == 1)
									<img src="{{URL::asset('static/images/tguo_ok.png')}}" class="tgicon">
								@endif
								@if($rs['order_detail']->transport_proxy_status == 2)
									<img src="{{URL::asset('static/images/tguo_not.png')}}" class="tgicon">
								@endif
							</span>
						</div>
					</div>
				</div>
			</div>
		</div>
	<!--end-->
	</div>
</div>
@endif
<script type="text/javascript">
	$(".upedimg").click(function(){
		var pic = $(this).attr('org_pic');
		if(pic){
			var img = '<img src="'+pic+'" style="max-width:640px; max-height:640px" class="upedimg">';
			layer.open({
			  title:'查看',
			  type: 1,
			  // skin: 'layui-layer-demo', //样式类名
			  offset: 't',
			  closeBtn: 0, //不显示关闭按钮
			  anim: 5,
			  area: ['640px', '640px'], //宽高
			  shadeClose: true, //开启遮罩关闭
			  content: img
			});
		}
	});
</script>